﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SystemList.aspx.cs" Inherits="_2010web.Manage.authority.SystemList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Import Namespace="OF.Utility" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
     <!-- #include file="~/html/file.aspx" -->
</head>
<body>
    <form id="form1" runat="server">
        <div class="wrap">
            <!-- #include file="~/html/top.aspx" -->
            <div class="das">
                <div class="contents">
                    <!-- #include file="~/html/menu.aspx" -->
                    <div class="main">
                        <div class="main_blc">
                            <div class="main_title">
                                <h3>系统管理</h3>

                            </div>
                            <!--  -->
                            <div class="dasBtn1 das_tbtns">
                                <ul>
                                    <li onclick="_M.Include('SystemEdit.aspx', '添加系统', 470, 305)"><a href="javascript:void(0);">
                                        <span><em class="add_news"></em>添加系统</span></a></li>
                                    <li onclick="$().AjaxManage.DeleteAll('AuthoritySystemOperate');"><a href="javascript:void(0);"><span>
                                        <em class="del"></em>删除系统</span></a></li>
                                </ul>
                            </div>
                            <div class="das_table">
                                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                    <colgroup>
                                        <col width="2%">
                                        <col width="8%">
                                        <col width="30%">
                                        <col width="60%">
                                    </colgroup>
                                    <thead>
                                        <tr>
                                            <th>
                                                <span>
                                                    <input type="checkbox" name="all" onclick="$().AjaxManage.SelectAllCheckBox(this);"
                                                        class="radio"></span>
                                            </th>
                                            <th>
                                                <span>系统编号</span>
                                            </th>
                                            <th>
                                                <span>系统名称</span>
                                            </th>

                                            <th>
                                                <span>操作</span>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody id="tbodylist">
                                        <asp:Repeater runat="server" ID="rptList">
                                            <ItemTemplate>
                                                <tr class="bg">
                                                    <td class="title">
                                                        <input type="checkbox" value="<%#Eval("SystemID")%>" class="radio" />
                                                    </td>
                                                    <td class="title">
                                                        <%#Eval("SystemID")%>
                                                    </td>
                                                    <td class="title">
                                                        <%#Eval("SystemName")%>
                                                    </td>

                                                    <td>
                                                        <span class="member_disable">
                                                            <a href="authoritymenulist.aspx?sysid=<%#Eval("SystemID")%>">菜单管理</a>
                                                            <a href="authorityrolelist.aspx?sysid=<%#Eval("SystemID")%>">角色管理</a>
                                                            <a href="javascript:void(0);" onclick="_M.Include('SystemEdit.aspx?ID=<%#Eval("SystemID")%>', '修改系统分类', 470, 305)">编辑系统</a>
                                                            <a href="javascript:void(0);" onclick="$().AjaxManage.DeleteCheck('<%#Eval("SystemID")%>', 'AuthoritySystemOperate');">删除</a>

                                                        </span>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                            <AlternatingItemTemplate>
                                                <tr>
                                                    <td class="title">
                                                        <input type="checkbox" value="<%#Eval("SystemID")%>" class="radio" />
                                                    </td>
                                                    <td class="title">
                                                        <%#Eval("SystemID")%>
                                                    </td>
                                                    <td class="title">
                                                        <%#Eval("SystemName")%>
                                                    </td>

                                                    <td>
                                                        <span class="member_disable">
                                                            <a href="authoritymenulist.aspx?sysid=<%#Eval("SystemID")%>">菜单管理</a>
                                                            <a href="authorityrolelist.aspx?sysid=<%#Eval("SystemID")%>">角色管理</a>
                                                            <a href="javascript:void(0);" onclick="_M.Include('SystemEdit.aspx?ID=<%#Eval("SystemID")%>', '修改系统分类', 470, 305)">编辑系统</a>
                                                            <a href="javascript:void(0);" onclick="$().AjaxManage.DeleteCheck('<%#Eval("SystemID")%>', 'AuthoritySystemOperate');">删除</a>

                                                        </span>
                                                    </td>
                                                </tr>
                                            </AlternatingItemTemplate>
                                            <FooterTemplate>
                                            </FooterTemplate>
                                        </asp:Repeater>
                                    </tbody>
                                </table>
                            </div>
                            <div class="das_tableb" <%=style %>>
                                <div class="alert_tips">
                                    <div>
                                        您尚未添加任何系统信息！<a href="javascript:void(0);" onclick="_M.Include('SystemEdit.aspx', '添加系统', 470, 305)">添加系统</a><i></i>
                                    </div>
                                </div>
                            </div>
                            <div class="das_tableb pages">
                                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" showinputbox="Never" CssClass="paginator"
                                    UrlPaging="true" CurrentPageButtonClass="cpb" PageSize="15">
                                </webdiyer:AspNetPager>
                            </div>
                        </div>

                    </div>
                    <sub class="tl"></sub><sub class="tr"></sub>
                </div>
                <sub class="tl"></sub>
            </div>
            <!-- #include file="~/html/foot.aspx" -->
        </div>
    </form>
</body>
</html>
